package cn.dt70.dao.version;

import cn.dt70.pojo.AppVersion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VersionMapper {

    int qryAllCount()throws Exception;

    List<AppVersion> qryAll(@Param("aId") int appId,
                            @Param("vId")int versionId)throws Exception;

    int save(AppVersion appVersion)throws Exception;

    int modify(AppVersion appVersion)throws Exception;

    int del(int id)throws Exception;

    List<AppVersion> getVersionByName(@Param("infoId") long infoId) throws Exception;
}
